package com.wangx1n.service;

import com.wangx1n.dao.UserDao;

/**
 * @author WangXin
 * @date 2020/12/2 17:23
 */
public class UserService {

    private UserDao userDao;

    //set
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public  void add(){
        userDao.update();
        System.out.println("Service..add....");

    }
}
